package com.malljelly.study;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/**
 * Created by 骑着蜗牛去旅行 on 2018/9/11.
 */
@SpringBootApplication
@EnableEurekaClient                            //向注册中心注册
@EnableAutoConfiguration(exclude={DataSourceAutoConfiguration.class})
public class ElasticsearchApplication {
    public static void main(String[] args) {
        SpringApplication.run(ElasticsearchApplication.class);
    }
}
